<?php
namespace app\admin\controller;

use app\BaseController;
use think\facade\View;
use app\magicboard\ArticleTmp;
use think\facade\Request;
use think\facade\Db;
class Power extends Adm
{
	use \app\admin\traits\Curd;
    public function index()
    {
    	return $this->fetch();
    	//return View::fetch('index');
    }
    public function powerset()
    {
        return $this->fetch();
    }
    public function _add()
    {
        
        //return $this->fetch();
    }
    public function selectParent()
    {
        header('Content-Type:application/json; charset=utf-8');
        $data = Db::name('power')->select();
        $data[] = [
            "id"=>"0",
            "power_name"=>"顶级权限",
            "power_type"=>null,
            "power_code"=>null,
            "parent_id"=>"-1",
            "icon"=>'',
            "sort"=>null,
            "enable"=>1
        ];
        $response = [
            'status'=>[
                'code'=>'200',
                'msessage'=>''
            ],
            'data'=>$data
        ];
        return json($response);
    }
    public function data()
    {
        $data = Db::name('power')->select();
        $response = [
            'code'=>1,
            'msg'=>'',
            'data'=>$data
        ];
        return json($response);
    }
    public function data1()
    {
        header('Content-Type:application/json; charset=utf-8');
        echo '{
    "createTime": null,
    "createBy": null,
    "createName": null,
    "updateTime": null,
    "updateBy": null,
    "updateName": null,
    "remark": null,
    "params": null,
    "code": 0,
    "msg": null,
    "count": null,
    "data": [{
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1329349076189184000",
        "powerName": "",
        "powerType": "1",
        "powerCode": "",
        "powerUrl": "",
        "openType": "",
        "parentId": "451002662209589248",
        "icon": "layui-icon",
        "sort": null,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1320969572051845120",
        "powerName": "111111",
        "powerType": "2",
        "powerCode": "",
        "powerUrl": "",
        "openType": "",
        "parentId": "1284020948269268992",
        "icon": "layui-icon-login-qq",
        "sort": null,
        "enable": null,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310397832091402240",
        "powerName": "任务恢复",
        "powerType": "2",
        "powerCode": "sch:job:resume",
        "powerUrl": "",
        "openType": "",
        "parentId": "442650770626711552",
        "icon": "layui-icon-vercode",
        "sort": null,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1322085393021009920",
        "powerName": "用户新增",
        "powerType": "2",
        "powerCode": "sys:user:add",
        "powerUrl": "",
        "openType": "",
        "parentId": "1322085079861690368",
        "icon": "layui-icon layui-icon-vercode",
        "sort": null,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310395250908332032",
        "powerName": "日志列表",
        "powerType": "2",
        "powerCode": "sch:log:data",
        "powerUrl": "",
        "openType": "",
        "parentId": "442651158935375872",
        "icon": "layui-icon-vercode",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310232350285627392",
        "powerName": "操作日志",
        "powerType": "2",
        "powerCode": "sys:log:operateLog",
        "powerUrl": "",
        "openType": "",
        "parentId": "450300705362808832",
        "icon": "layui-icon layui-icon-vercode",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1349637786285637632",
        "powerName": "邮件列表",
        "powerType": "2",
        "powerCode": "sys:mail:data",
        "powerUrl": "",
        "openType": "",
        "parentId": "1349279791521464320",
        "icon": "layui-icon layui-icon layui-icon-vercode",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310243862937075712",
        "powerName": "文件列表",
        "powerType": "2",
        "powerCode": "sys:file:data",
        "powerUrl": "",
        "openType": "",
        "parentId": "1304793451996381184",
        "icon": "layui-icon-vercode",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1330865171429588992",
        "powerName": "在线用户",
        "powerType": "1",
        "powerCode": "sys:online:main",
        "powerUrl": "/system/online/main",
        "openType": "_iframe",
        "parentId": "694203021537574912",
        "icon": "layui-icon layui-icon layui-icon-username",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310390699333517312",
        "powerName": "任务列表",
        "powerType": "2",
        "powerCode": "sch:job:data",
        "powerUrl": "",
        "openType": "",
        "parentId": "442650770626711552",
        "icon": "layui-icon-vercode",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310390994826428416",
        "powerName": "任务新增",
        "powerType": "2",
        "powerCode": "sch:job:add",
        "powerUrl": "",
        "openType": "",
        "parentId": "442650770626711552",
        "icon": "layui-icon-vercode",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1322085270392143872",
        "powerName": "用户列表",
        "powerType": "2",
        "powerCode": "sys:user:data",
        "powerUrl": "",
        "openType": "",
        "parentId": "1322085079861690368",
        "icon": "layui-icon layui-icon layui-icon layui-icon-vercode",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310238229588344832",
        "powerName": "配置列表",
        "powerType": "2",
        "powerCode": "sys:config:data",
        "powerUrl": "",
        "openType": "",
        "parentId": "1307299332784914432",
        "icon": "layui-icon-vercode",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1322085079861690368",
        "powerName": "用户管理",
        "powerType": "1",
        "powerCode": "sys:user:main",
        "powerUrl": "/system/user/main",
        "openType": "_iframe",
        "parentId": "1",
        "icon": "layui-icon layui-icon layui-icon layui-icon layui-icon-rate",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310402491631796224",
        "powerName": "数据类型列表",
        "powerType": "2",
        "powerCode": "sys:dictType:data",
        "powerUrl": "",
        "openType": "",
        "parentId": "1304387665067507712",
        "icon": "layui-icon-vercode",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1318229908526202880",
        "powerName": "模型新增",
        "powerType": "2",
        "powerCode": "pro:model:add",
        "powerUrl": "",
        "openType": "",
        "parentId": "1307562519451140096",
        "icon": "layui-icon layui-icon-vercode",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310404584291696640",
        "powerName": "数据字典视图",
        "powerType": "2",
        "powerCode": "sys:dictData:main",
        "powerUrl": "",
        "openType": "",
        "parentId": "1304387665067507712",
        "icon": "layui-icon-vercode",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1316558444790022144",
        "powerName": "部门新增",
        "powerType": "2",
        "powerCode": "sys:dept:add",
        "powerUrl": "",
        "openType": "",
        "parentId": "1315584471046553600",
        "icon": "layui-icon layui-icon-vercode",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310405161587310592",
        "powerName": "数据字典修改",
        "powerType": "2",
        "powerCode": "sys:dictData:edit",
        "powerUrl": "",
        "openType": "",
        "parentId": "1304387665067507712",
        "icon": "layui-icon-vercode",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "2",
        "powerName": "用户管理",
        "powerType": "2",
        "powerCode": "",
        "powerUrl": "",
        "openType": "_iframe",
        "parentId": "1320969572051845120",
        "icon": "layui-icon layui-icon layui-icon-username",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1284020948269268992",
        "powerName": "用户列表",
        "powerType": "2",
        "powerCode": "sys:user:data",
        "powerUrl": "",
        "openType": "",
        "parentId": "2",
        "icon": "layui-icon-username",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "451003242072117248",
        "powerName": "项目总览",
        "powerType": "1",
        "powerCode": "process:model:main",
        "powerUrl": "/console",
        "openType": "_iframe",
        "parentId": "451002662209589248",
        "icon": "layui-icon  layui-icon-component",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "451002662209589248",
        "powerName": "工作空间",
        "powerType": "1",
        "powerCode": "",
        "powerUrl": "",
        "openType": "",
        "parentId": "451002662209589248",
        "icon": "layui-icon layui-icon layui-icon-home",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "442650770626711552",
        "powerName": "定时任务",
        "powerType": "1",
        "powerCode": "sch:job:main",
        "powerUrl": "/schedule/job/main",
        "openType": "_iframe",
        "parentId": "694203021537574912",
        "icon": "layui-icon layui-icon layui-icon layui-icon  layui-icon-chat",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1307562519451140096",
        "powerName": "模型管理",
        "powerType": "1",
        "powerCode": "/process/model/main",
        "powerUrl": "/process/model/main",
        "openType": "0",
        "parentId": "1307562196556840960",
        "icon": "layui-icon-circle",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310206853057085440",
        "powerName": "用户修改",
        "powerType": "2",
        "powerCode": "sys:user:edit",
        "powerUrl": "",
        "openType": "",
        "parentId": "2",
        "icon": "layui-icon-vercode",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310208636370288640",
        "powerName": "用户删除",
        "powerType": "2",
        "powerCode": "sys:user:remove",
        "powerUrl": "",
        "openType": "",
        "parentId": "2",
        "icon": "layui-icon-vercode",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310209696916832256",
        "powerName": "角色新增",
        "powerType": "2",
        "powerCode": "sys:role:add",
        "powerUrl": "",
        "openType": "",
        "parentId": "3",
        "icon": "layui-icon-vercode",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310209900478988288",
        "powerName": "角色删除",
        "powerType": "2",
        "powerCode": "sys:role:remove",
        "powerUrl": "",
        "openType": "",
        "parentId": "3",
        "icon": "layui-icon-vercode",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310226416867999744",
        "powerName": "权限列表",
        "powerType": "2",
        "powerCode": "sys:power:data",
        "powerUrl": "",
        "openType": "",
        "parentId": "4",
        "icon": "layui-icon-vercode",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310210054728712192",
        "powerName": "角色修改",
        "powerType": "2",
        "powerCode": "sys:role:edit",
        "powerUrl": "",
        "openType": "",
        "parentId": "3",
        "icon": "layui-icon-vercode",
        "sort": 0,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1370412169610395649",
        "powerName": "消息列表",
        "powerType": "2",
        "powerCode": "system:notice:data",
        "powerUrl": "",
        "openType": null,
        "parentId": "1370412169610395648",
        "icon": "layui-icon layui-icon-set-fill",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1370412169610395651",
        "powerName": "消息修改",
        "powerType": "2",
        "powerCode": "system:notice:edit",
        "powerUrl": "",
        "openType": null,
        "parentId": "1370412169610395648",
        "icon": "layui-icon layui-icon-set-fill",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1",
        "powerName": "系统管理",
        "powerType": "0",
        "powerCode": "",
        "powerUrl": "",
        "openType": null,
        "parentId": "0",
        "icon": "layui-icon layui-icon-set-fill",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1313482983558086656",
        "powerName": "公告新增",
        "powerType": "2",
        "powerCode": "sys:notice:add",
        "powerUrl": "",
        "openType": "",
        "parentId": "1313142171393589248",
        "icon": "layui-icon-vercode",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "474356363552755712",
        "powerName": "项目介绍",
        "powerType": "1",
        "powerCode": "home",
        "powerUrl": "/console",
        "openType": "_iframe",
        "parentId": "474356044148117504",
        "icon": "layui-icon layui-icon-home",
        "sort": 1,
        "enable": false,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1370412169610395650",
        "powerName": "消息新增",
        "powerType": "2",
        "powerCode": "system:notice:add",
        "powerUrl": "",
        "openType": null,
        "parentId": "1370412169610395648",
        "icon": "layui-icon layui-icon-set-fill",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1316558556102656000",
        "powerName": "部门修改",
        "powerType": "2",
        "powerCode": "sys:dept:edit",
        "powerUrl": "",
        "openType": "",
        "parentId": "1315584471046553600",
        "icon": "layui-icon layui-icon-vercode",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1318230013262168064",
        "powerName": "模型修改",
        "powerType": "2",
        "powerCode": "pro:model:edit",
        "powerUrl": "",
        "openType": "",
        "parentId": "1307562519451140096",
        "icon": "layui-icon layui-icon-vercode",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "442651158935375872",
        "powerName": "任务日志",
        "powerType": "1",
        "powerCode": "sch:log:main",
        "powerUrl": "/schedule/log/main",
        "openType": "_iframe",
        "parentId": "694203021537574912",
        "icon": "layui-icon layui-icon layui-icon  layui-icon-file",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "442418188639145984",
        "powerName": "代码生成",
        "powerType": "1",
        "powerCode": "exp:template:main",
        "powerUrl": "/generate/main",
        "openType": "_iframe",
        "parentId": "442417411065516032",
        "icon": "layui-icon layui-icon layui-icon layui-icon layui-icon layui-icon-template-1",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "442359447487123456",
        "powerName": "角色列表",
        "powerType": "2",
        "powerCode": "sys:role:data",
        "powerUrl": "",
        "openType": "",
        "parentId": "3",
        "icon": "layui-icon layui-icon-rate",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "3",
        "powerName": "角色管理",
        "powerType": "1",
        "powerCode": "sys:role:main",
        "powerUrl": "/system/role/main",
        "openType": "_iframe",
        "parentId": "1",
        "icon": "layui-icon layui-icon-user",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1313142510486290432",
        "powerName": "公告列表",
        "powerType": "1",
        "powerCode": "sys:notice:data",
        "powerUrl": "/system/notice/data",
        "openType": "0",
        "parentId": "1313142171393589248",
        "icon": "layui-icon-notice",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1370412169610395652",
        "powerName": "消息删除",
        "powerType": "2",
        "powerCode": "system:notice:remove",
        "powerUrl": "",
        "openType": null,
        "parentId": "1370412169610395648",
        "icon": "layui-icon layui-icon-set-fill",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1349638479767666688",
        "powerName": "邮件新增",
        "powerType": "2",
        "powerCode": "sys:mail:add",
        "powerUrl": "",
        "openType": "",
        "parentId": "1349279791521464320",
        "icon": "layui-icon layui-icon layui-icon-vercode",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1370974716822552576",
        "powerName": "修改设置",
        "powerType": "2",
        "powerCode": "sys:setup:add",
        "powerUrl": "",
        "openType": "",
        "parentId": "1355962888132493312",
        "icon": "layui-icon layui-icon-vercode",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1348562759603716096",
        "powerName": "在线列表",
        "powerType": "1",
        "powerCode": "sys:online:data",
        "powerUrl": "/system/online/data",
        "openType": "_iframe",
        "parentId": "1330865171429588992",
        "icon": "layui-icon layui-icon-username",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1305875436139446272",
        "powerName": "百度一下",
        "powerType": "1",
        "powerCode": "http://www.baidu.com",
        "powerUrl": "http://www.baidu.com",
        "openType": "0",
        "parentId": "451002662209589248",
        "icon": "layui-icon-search",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1302180351979814912",
        "powerName": "布局构建",
        "powerType": "1",
        "powerCode": "generator:from:main",
        "powerUrl": "component/code/index.html",
        "openType": "_iframe",
        "parentId": "442417411065516032",
        "icon": "layui-icon-senior",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1284022967767924736",
        "powerName": "用户保存",
        "powerType": "2",
        "powerCode": "sys:user:add",
        "powerUrl": "",
        "openType": "",
        "parentId": "2",
        "icon": "layui-icon-username",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310244103824343040",
        "powerName": "文件新增",
        "powerType": "2",
        "powerCode": "sys:file:add",
        "powerUrl": "",
        "openType": "",
        "parentId": "1304793451996381184",
        "icon": "layui-icon-vercode",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310238417082122240",
        "powerName": "配置新增",
        "powerType": "2",
        "powerCode": "sys:config:add",
        "powerUrl": "",
        "openType": "",
        "parentId": "1307299332784914432",
        "icon": "layui-icon-vercode",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310232462562951168",
        "powerName": "登录日志",
        "powerType": "2",
        "powerCode": "sys:log:loginLog",
        "powerUrl": "",
        "openType": "",
        "parentId": "450300705362808832",
        "icon": "layui-icon layui-icon-vercode",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310402688881524736",
        "powerName": "数据类型新增",
        "powerType": "2",
        "powerCode": "sys:dictType:add",
        "powerUrl": "",
        "openType": "",
        "parentId": "1304387665067507712",
        "icon": "layui-icon-vercode",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310226976593674240",
        "powerName": "权限新增",
        "powerType": "2",
        "powerCode": "sys:power:add",
        "powerUrl": "",
        "openType": "",
        "parentId": "4",
        "icon": "layui-icon-vercode",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310211965188046848",
        "powerName": "角色授权",
        "powerType": "2",
        "powerCode": "sys:role:power",
        "powerUrl": "",
        "openType": "",
        "parentId": "3",
        "icon": "layui-icon-vercode",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1308571483794046976",
        "powerName": "流程定义",
        "powerType": "1",
        "powerCode": "process:defined:main",
        "powerUrl": "/process/defined/main",
        "openType": "0",
        "parentId": "1307562196556840960",
        "icon": "layui-icon-chart-screen",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310404705934901248",
        "powerName": "数据字典列表",
        "powerType": "2",
        "powerCode": "sys:dictData:data",
        "powerUrl": "",
        "openType": "",
        "parentId": "1304387665067507712",
        "icon": "layui-icon-vercode",
        "sort": 1,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1317555660455411712",
        "powerName": "部门列表",
        "powerType": "2",
        "powerCode": "sys:dept:data",
        "powerUrl": "",
        "openType": "",
        "parentId": "1315584471046553600",
        "icon": "layui-icon layui-icon layui-icon layui-icon-vercode",
        "sort": 2,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1318230265385975808",
        "powerName": "模型删除",
        "powerType": "2",
        "powerCode": "pro:model:remove",
        "powerUrl": "",
        "openType": "",
        "parentId": "1307562519451140096",
        "icon": "layui-icon layui-icon-vercode",
        "sort": 2,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310227130998587392",
        "powerName": "权限修改",
        "powerType": "2",
        "powerCode": "sys:power:edit",
        "powerUrl": "",
        "openType": "",
        "parentId": "4",
        "icon": "layui-icon-vercode",
        "sort": 2,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310391095670079488",
        "powerName": "任务修改",
        "powerType": "2",
        "powerCode": "sch:job:edit",
        "powerUrl": "",
        "openType": "",
        "parentId": "442650770626711552",
        "icon": "layui-icon-vercode",
        "sort": 2,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1322085497798918144",
        "powerName": "用户修改",
        "powerType": "2",
        "powerCode": "sys:user:edit",
        "powerUrl": "",
        "openType": "",
        "parentId": "1322085079861690368",
        "icon": "layui-icon layui-icon layui-icon-vercode",
        "sort": 2,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1305870685385523200",
        "powerName": "百度一下",
        "powerType": "1",
        "powerCode": "",
        "powerUrl": "http://www.baidu.com",
        "openType": "0",
        "parentId": "474356044148117504",
        "icon": "layui-icon-search",
        "sort": 2,
        "enable": null,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310238574355939328",
        "powerName": "配置修改",
        "powerType": "2",
        "powerCode": "sys:config:edit",
        "powerUrl": "",
        "openType": "",
        "parentId": "1307299332784914432",
        "icon": "layui-icon-vercode",
        "sort": 2,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "4",
        "powerName": "权限管理",
        "powerType": "1",
        "powerCode": "sys:power:main",
        "powerUrl": "/system/power/main",
        "openType": "_iframe",
        "parentId": "1",
        "icon": "layui-icon layui-icon-vercode",
        "sort": 2,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1349636919478190080",
        "powerName": "邮件删除",
        "powerType": "2",
        "powerCode": "sys:mail:remove",
        "powerUrl": "",
        "openType": "",
        "parentId": "1349279791521464320",
        "icon": "layui-icon layui-icon layui-icon layui-icon layui-icon-vercode",
        "sort": 2,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1313483090852577280",
        "powerName": "公告修改",
        "powerType": "2",
        "powerCode": "sys:notice:edit",
        "powerUrl": "",
        "openType": "",
        "parentId": "1313142171393589248",
        "icon": "layui-icon-vercode",
        "sort": 2,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310227300935008256",
        "powerName": "权限删除",
        "powerType": "2",
        "powerCode": "sys:power:remove",
        "powerUrl": "",
        "openType": "",
        "parentId": "4",
        "icon": "layui-icon-vercode",
        "sort": 3,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "694203021537574912",
        "powerName": "系统监控",
        "powerType": "0",
        "powerCode": "",
        "powerUrl": "",
        "openType": "",
        "parentId": "0",
        "icon": "layui-icon  layui-icon-console",
        "sort": 3,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1349636574442160128",
        "powerName": "邮件发送",
        "powerType": "2",
        "powerCode": "sys:mail:save",
        "powerUrl": "",
        "openType": "",
        "parentId": "1349279791521464320",
        "icon": "layui-icon layui-icon layui-icon layui-icon layui-icon layui-icon-vercode",
        "sort": 3,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310238700705153024",
        "powerName": "配置删除",
        "powerType": "2",
        "powerCode": "sys:config:remove",
        "powerUrl": "",
        "openType": "",
        "parentId": "1307299332784914432",
        "icon": "layui-icon-vercode",
        "sort": 3,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310244248884346880",
        "powerName": "文件删除",
        "powerType": "2",
        "powerCode": "sys:file:remove",
        "powerUrl": "",
        "openType": "",
        "parentId": "1304793451996381184",
        "icon": "layui-icon-vercode",
        "sort": 3,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1322085659766161408",
        "powerName": "用户删除",
        "powerType": "2",
        "powerCode": "sys:user:remove",
        "powerUrl": "",
        "openType": "",
        "parentId": "1322085079861690368",
        "icon": "layui-icon layui-icon-rate",
        "sort": 3,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310391707069579264",
        "powerName": "任务删除",
        "powerType": "2",
        "powerCode": "sch:job:remove",
        "powerUrl": "",
        "openType": "",
        "parentId": "442650770626711552",
        "icon": "layui-icon-vercode",
        "sort": 3,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310398020692475904",
        "powerName": "任务停止",
        "powerType": "2",
        "powerCode": "sch:job:pause",
        "powerUrl": "",
        "openType": "",
        "parentId": "442650770626711552",
        "icon": "layui-icon-vercode",
        "sort": 3,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310402817776680960",
        "powerName": "数据类型修改",
        "powerType": "2",
        "powerCode": "sys:dictType:edit",
        "powerUrl": "",
        "openType": "",
        "parentId": "1304387665067507712",
        "icon": "layui-icon-vercode",
        "sort": 3,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1316558685442408448",
        "powerName": "部门删除",
        "powerType": "2",
        "powerCode": "sys:dept:remove",
        "powerUrl": "",
        "openType": "",
        "parentId": "1315584471046553600",
        "icon": "layui-icon layui-icon-vercode",
        "sort": 3,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310403004406431744",
        "powerName": "数据类型删除",
        "powerType": "2",
        "powerCode": "sys:dictType:remove",
        "powerUrl": "",
        "openType": "",
        "parentId": "1304387665067507712",
        "icon": "layui-icon-vercode",
        "sort": 3,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1315584471046553600",
        "powerName": "部门管理",
        "powerType": "1",
        "powerCode": "sys:dept:main",
        "powerUrl": "/system/dept/main",
        "openType": "_iframe",
        "parentId": "1",
        "icon": "layui-icon layui-icon layui-icon layui-icon-vercode",
        "sort": 3,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1313483189850734592",
        "powerName": "公告删除",
        "powerType": "2",
        "powerCode": "sys:notice:remove",
        "powerUrl": "",
        "openType": "",
        "parentId": "1313142171393589248",
        "icon": "layui-icon-vercode",
        "sort": 3,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1304387665067507712",
        "powerName": "数据字典",
        "powerType": "1",
        "powerCode": "sys:dictType:main",
        "powerUrl": "/system/dictType/main",
        "openType": "_iframe",
        "parentId": "1",
        "icon": "layui-icon layui-icon layui-icon layui-icon layui-icon-flag",
        "sort": 4,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310398158974484480",
        "powerName": "任务运行",
        "powerType": "2",
        "powerCode": "sch:job:run",
        "powerUrl": "",
        "openType": "",
        "parentId": "442650770626711552",
        "icon": "layui-icon-vercode",
        "sort": 4,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "442417411065516032",
        "powerName": "开发工具",
        "powerType": "0",
        "powerCode": "",
        "powerUrl": "",
        "openType": "",
        "parentId": "0",
        "icon": "layui-icon layui-icon layui-icon-senior",
        "sort": 4,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1304793451996381184",
        "powerName": "文件管理",
        "powerType": "1",
        "powerCode": "sys:file:main",
        "powerUrl": "/system/file/main",
        "openType": "_iframe",
        "parentId": "1",
        "icon": "layui-icon layui-icon layui-icon-read",
        "sort": 5,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310404831407505408",
        "powerName": "数据字典新增",
        "powerType": "2",
        "powerCode": "sys:dictData:add",
        "powerUrl": "",
        "openType": "",
        "parentId": "1304387665067507712",
        "icon": "layui-icon-vercode",
        "sort": 5,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1307562196556840960",
        "powerName": "工作流程",
        "powerType": "0",
        "powerCode": "",
        "powerUrl": "",
        "openType": "0",
        "parentId": "0",
        "icon": "layui-icon layui-icon-chat",
        "sort": 5,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1307299332784914432",
        "powerName": "系统配置",
        "powerType": "1",
        "powerCode": "sys:config:main",
        "powerUrl": "/system/config/main",
        "openType": "0",
        "parentId": "1",
        "icon": "layui-icon layui-icon layui-icon-note",
        "sort": 6,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1310404999599095808",
        "powerName": "数据字典删除",
        "powerType": "2",
        "powerCode": "sys:dictData:remove",
        "powerUrl": "",
        "openType": "",
        "parentId": "1304387665067507712",
        "icon": "layui-icon-vercode",
        "sort": 6,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "450300705362808832",
        "powerName": "行为日志",
        "powerType": "1",
        "powerCode": "sys:log:main",
        "powerUrl": "/system/log/main",
        "openType": "_iframe",
        "parentId": "694203021537574912",
        "icon": "layui-icon layui-icon layui-icon layui-icon  layui-icon-chart",
        "sort": 7,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1349279791521464320",
        "powerName": "电子邮件",
        "powerType": "1",
        "powerCode": "sys:mail:main",
        "powerUrl": "/system/mail/main",
        "openType": "_iframe",
        "parentId": "1",
        "icon": "layui-icon layui-icon layui-icon layui-icon-list",
        "sort": 7,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1370412169610395648",
        "powerName": "站内消息",
        "powerType": "1",
        "powerCode": "system:notice:main",
        "powerUrl": "/system/notice/main",
        "openType": "_iframe",
        "parentId": "1",
        "icon": "layui-icon layui-icon layui-icon layui-icon-set-fill",
        "sort": 8,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1349016358033031168",
        "powerName": "环境监控",
        "powerType": "1",
        "powerCode": "sys:monitor:main",
        "powerUrl": "/system/monitor/main",
        "openType": "_iframe",
        "parentId": "694203021537574912",
        "icon": "layui-icon layui-icon-vercode",
        "sort": 9,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "694203311615639552",
        "powerName": "接口文档",
        "powerType": "1",
        "powerCode": "",
        "powerUrl": "/swagger-ui.html",
        "openType": "_iframe",
        "parentId": "442417411065516032",
        "icon": "layui-icon layui-icon layui-icon  layui-icon-chart",
        "sort": 9,
        "enable": true,
        "checkArr": "0"
    }, {
        "createTime": null,
        "createBy": null,
        "createName": null,
        "updateTime": null,
        "updateBy": null,
        "updateName": null,
        "remark": null,
        "params": null,
        "powerId": "1355962888132493312",
        "powerName": "系统设置",
        "powerType": "1",
        "powerCode": "sys:setup:main",
        "powerUrl": "/system/setup/main",
        "openType": "_iframe",
        "parentId": "1",
        "icon": "layui-icon layui-icon layui-icon-set",
        "sort": 11,
        "enable": true,
        "checkArr": "0"
    }]
}';
        die;
    }
    // protected function setmodel()
    // {
    // 	$this->_model = '\\app\\admin\\model\\User';
    // }
}
